package com.bootcamp.s1_0823.jvm;

import java.sql.SQLOutput;

/**
 * @program: myClassCode
 * @description: inner class and
 * @author: Keyu Li
 * @create: 2021-10-20 16:45
 **/

public class Demo1_innerClass {
    private int b=20;
    static int d = 40;
    final int B=60;
    private static int dd=80;
    final static int D=100;
    void OutMethod(){
        int a = 10;
        int c = 30;
        class Inner{
            void InnerMethod(){
                System.out.println(a+b+c+d+B+dd+D);
            }
        }
    }

    static class StaticInner{
        void methodStatic(){
            System.out.println(d+dd+D);
        }
    }

    public static void main(String[] args) {

    }
}
